package com.lazy.utils.crossorigin;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.servlet.mvc.method.annotation.AbstractJsonpResponseBodyAdvice;


/**
 * 跨域 jsonp aop
 * @author zk
 * @since 2018/5/15 17:54
 */

@ControllerAdvice(basePackages = {"com.lazy"})
public class JsonpController extends AbstractJsonpResponseBodyAdvice {

	public JsonpController(){
		super("callback","jsonp");
	}
}
